From: Florian Müllner Date: Fri, 19 Oct 2012 16:52:34 +0000 (+0200) Subject: userMenu: Hide menu immediately before suspending X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5575 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f6458f215f9dfe3410beeac2150d46ab5e17e350;p=gnome-shell.git userMenu: Hide menu immediately before suspending The same logic as for commit 1f30670c1d8d8 applies to the case where we lock the screen before suspending - we don't want the menu to jump to the opposite screen side to fade out, so remove the animation altogether. https://bugzilla.gnome.org/show_bug.cgi?id=686484 --- diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index 464d8e4ef..8ebfef3ad 100644 --- a/js/ui/userMenu.js +++ b/js/ui/userMenu.js @@ -849,6 +849,7 @@ const UserMenuButton = new Lang.Class({ this._upClient.suspend_sync(null); })); + this.menu.close(BoxPointer.PopupAnimation.NONE); Main.screenShield.lock(true); } else { this._upClient.suspend_sync(null);